import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import '@/assets/css/global.scss'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from '@/axios/request'
import router from '@/router'
import * as echarts from 'echarts'
const app = createApp(App)
app.use(router)
app.use(ElementPlus)

app.config.globalProperties.$echarts = echarts // 绑定实例
app.config.globalProperties.$axios = axios

router.isReady().then(() => {
    app.mount('#app')
})

